cmake_minimum_required(VERSION 3.10)
project(test_curl)

set(CMAKE_CXX_STANDARD 11)
SET(CMAKE_BUILD_TYPE Debug)

set(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g3 -ggdb")

include_directories(.)

include_directories(/home/yw/opensource/curl/build/include)
link_directories(/home/yw/opensource/curl/build/lib)

add_executable(test_curl
        CHttpClient.cpp
        CHttpClient.hpp
        jsoncpp.cpp
        test.cpp)

TARGET_LINK_LIBRARIES(test_curl curl)
